package com.pm.buglist.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import com.pm.common.annotation.Excel;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.List;

/**
 * <p>
 * 项目信息表
 * </p>
 *
 * @author wwm
 * @since 2023-12-14
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class Project implements Serializable {

    private static final long serialVersionUID = 1L;

    private Long id;

    /**
     * 客户
     */
    @Excel(name = "客户")
    private String custom;

    /**
     * 机型
     */
    @Excel(name = "机型")
    private String model;

    /**
     * 项目编码
     */
    @Excel(name = "项目编码")
    private String projectNo;

    /**
     * 专案级别
     */
    @Excel(name = "专案级别")
    private String level;

    /**
     * AD板
     */
    @Excel(name = "AD板")
    private String adBoard;

    /**
     * 芯片组
     */
    @Excel(name = "芯片组")
    private String chipGroup;

    /**
     * LCM/OC
     */
    @Excel(name = "LCM/OC")
    private String lcmOc;

    /**
     * 电源/适配器
     */
    @Excel(name = "电源/适配器")
    private String powerSupply;

    /**
     * 恒流板
     */
    @Excel(name = "恒流板")
    private String currentBoard;

    /**
     * Arm板
     */
    @Excel(name = "Arm板")
    private String armBoard;

    /**
     * 添加时间
     */
    @Excel(name = "添加时间")
    private LocalDateTime addTime;

    /**
     * 添加人
     */
    private Long addUser;

    /**
     * 更新时间
     */
    @Excel(name = "更新时间")
    private LocalDateTime updateTime;

    /**
     * 更新人
     */
    private Long updateUser;

    /**
     * 项目说明
     */
    @Excel(name = "项目说明")
    private String remark;

    /**
     * 修改说明
     */
    @Excel(name = "修改说明")
    private String descritions;

    /**
     * 状态 0 草稿   10 open  30 close
     */
//    @Excel(name = "状态编码")
    private Integer status;

    @TableField(exist = false)
    @Excel(name = "状态")
    private String statusTxt;

    /**
     * 删除标志（0代表存在 2代表删除）
     */
    private String delFlag;

    /**
     * 其他
     * */
    private  String other;

    /**
     * 项目成员
     * */
    @Excel(name = "项目经理")
    private String pjManage;

    @Excel(name = "硬件电子")
    private String hardElectron;

    @Excel(name = "硬件电源")
    private String hardPower;

    @Excel(name = "光学")
    private String optics;

    @Excel(name = "软件")
    private String software;

    @Excel(name = "结构")
    private String structure;

    @Excel(name = "NPI")
    private String npi;

    @Excel(name = "App")
    private String app;

    @Excel(name = "Touch")
    private String touch;

    /**
     * 添加人
     * */
    @Excel(name = "添加人")
    @TableField(exist = false)
    private String addUserTxt;

    /**
     * 更新人
     * */
    @Excel(name = "更新人")
    @TableField(exist = false)
    private String updateUserTxt;

    /**
     * 项目经理
     * */
    @Excel(name = "项目经理")
    @TableField(exist = false)
    private String pjmName;

    /**
     * 导出项目的id
     * */
    @TableField(exist = false)
    private List<Long> ids;

    /**
     * 统计数量字段
     * */
    @TableField(exist = false)
    private Integer num;

    /**
     * 客户数组字段
     * */
    @TableField(exist = false)
    private List<String> customs;


    @TableField(exist = false)
    private String exportFlag;

//    @TableField(exist = false)
//    private Long pjm;
//    @TableField(exist = false)
//    private Long hardElectron;
//    @TableField(exist = false)
//    private Long hardPower;
//    @TableField(exist = false)
//    private Long optics;
//    @TableField(exist = false)
//    private Long soft;
//    @TableField(exist = false)
//    private Long structure;
//    @TableField(exist = false)
//    private Long npi;

}
